﻿$(document).ready(function () {

    $("#" + selectedControlID).click(function () {
        $("#dropDown").show();
    });
    $("#selector").mouseleave(function () {
        $("#dropDown").hide();
    });

    $('a[class*="ParentTitle"]').attr("href", "#");

    $('a[class*="ChildTitle"]').click(function () {
        $("#" + selectedControlID).val($(this).html());
        $("#dropDown").hide();
    });
}
);